onPreviewFrame

open fun onPreviewFrame(data: ByteArray, width: Int, height: Int, stride: Int, format: Int)